added kdtree Edges to init