improve map binning