def inConvergenceCorridor(d_struct, d_gc, BS_d_struct, BS_d_gc):
    """
    Check if a solutions qualities are within the convergence corridor
    """
    struct_var = ((BS_d_struct / float(4)) + 3) * 4
    gc_var = (BS_d_gc + 1 / float(100) * 5) + BS_d_gc + 1

    if d_struct <= struct_var and d_gc <= gc_var:
        return True
    else:
        return False