max iterations setting