inline mds, remove 2 from sieve - only odd numbers tested anyway