minor simplication to TraversalVertexProgram.