the curve in the square