Initialization of nodes