Changes to account for insertion of nodes after initialization