Working for upper-left style grids