NaryTree definition changed