Implemented max steps setting