Add code for max steps interval