bestTimeRange stepper function now takes two parameters, the current step time and the given sizeGoal