Optimization. The divisors are now only prime numbers