Little modifications to output binning