Tree from nodes