square grid, X->#