solve a long standing performance issue
generate dictionaries as well
Merge pull request #2894 from VinInn/VertexWeight

solve a long standing performance issue with Vertex::TrackWeight