Histogram method appears to be faster for high number of particles,
small corrections are made in constructor/documentation