multiple dimensional binning now works for memdata instances