Initial binning implementation.