MST statistics would be more helpful if we printed, instead of the full bucket length distribution, just number of empty slots, medium bucket length, and max. bucket chain length.
Coding can also be simplified somewhat.
Coding can also be simplified somewhat.