new util: GridPosition