binning preprocessory