segmented sieve infrastructure, and have forprimes use it.