Intersecting rectangle, iteration 1