circumscribe it by half-rectangles like that which has been left outside, so as to form a (square) plate.
From the Chou pai suan ching, quoted in Swetz and Kao, 1877.