changes to grid_vs_sob calculation to account for tabbing