Fix Sieve of Eratosthenes