Would involve one of two things:
Keep adding to the atlas from the top left, but realizing that you're adding from the top row (7) and have to index it as such. Every new row would reduce the value by 1.
Or, we build the atlas from the bottom left. Then, the v would just be tileOffset[1]*Block.UV_UNIT.