construction of a square