replaced dump algo of getting bins for region