eratosthenes sieve optimization