partial tree from linked list