Randomized rectangles within a square