Added squaresFromPureCoordinate.