Fixed `sieve' not initializing the last entry of `primes'