Sampling from NHPPPs with piecewise constant intensities with same interval lengths (non-vectorized)
Useful links