make poisson sampling slightly faster

This should make poisson sampling faster in common cases while maintaining numerical stability.