factor out CircuitSizer#{max_for_fitting,min_for_larger}