Added indexes to the squares.