Dimensions of rectangles