changed unionFindWatersheds(Graph) to use local neighbor ID only for GridGraph