Geometric squares in space