stepSize issue fixed