memory allocation for nodes fixed