Improved stopping tests before main loop. Slightly improved performance when passIters is huge.