bounding rectangles are working, but too much noise inside the perimeter