fix and speed up n_is_prime on 32-bit
Spacing.