changed nvtx from allVertices to goodVertices