Added maximum_steps interval calculation