def _n_for_model_building_default(m):
    """truncate worst solutions for model building"""
    n = int(max((m.current_complexity + 2, m.settings.truncation_ratio * (m
        .size + 1))))
    return min((m.size, n))
