updated max steps