Use unordered_multimap implement NodeMap class.