composition of squares