added index-to-node-map, node-to-index-map