updated to draw rectangles around potential marker groups