Optimizing the Sieve of Eratosthenes. Segmentation.