collectLocalEdges -> collectEdges