Completed unionRectangle