I think "n" would be the grid size.