changing the iteration maximum steps