change number of steps and intervals