Support non-square grids