Reduced the number of iterations