Add a territory for each node.