Squares and boxes