fix number of steps