Global indexing of nodes