Make sure we don't overflow large divisor counts on 32-bit machines