binRectangles array took to much memory