Completed loopSquares