get max steps