something broke and had to rewrite primes with bitmask. got it working again, not to figure out segmenting and then threading