flaw in calculating the potential outside the grid