restarting and number of steps