Added binning by boundary