change start and end to fractions of curve, not step numbers