Curve fitting without testing