binning: Allocation bugfix
histogram: Allocation bugfix