changing bounds for curve fitting