allow complex binning
allow complex binning