Put PiecewiseInterpolation limit back in (it's wrong, but without it the fit seems unstable).