solve a long standing performance issue with Vertex::TrackWeight

may be used elsewhere