fixed implementation to get ride of VerticeDataMap