finish vertexKDtree