deprecated old binning module, and updated new binning module respectively