nodestack: destroy Nodes properly in ~NodeStack()