documented getBinSize and getBinSize2D
partially through writing max probility functions