generate nodes in maptraverser