fixed rectangles allocation