Rectangles and boxes