plot iteration rectangles and final rectangle in different colors