change max iterations