update steps per time algorithm