add filtering by filter and binning