Overlappin rectangles solution works now cperfectly