modified to make offsets increments of 127, to make origin consistent across corner spaces, and to allow for roaming vectors (including expanding the grid)