build squares