More optimization.

It is not necessary to try smaller primes