improving p35 runtime with proper prime sieve