Speed up for large inputs but smaller number of primes.
Speed up for large inputs but smaller number of primes.

fredrik-johansson/flint2,fredrik-johansson/flint2,wbhart/flint2,wbhart/flint2,fredrik-johansson/flint2,wbhart/flint2