Use a proper B0 factor and use powers of primes up to B0.