some small rectangles to one big rectangle