Rectangles hugs detail