Add the nested map in the weighted graph implementation map