New Tree::treeize($list, $levels, $doSlice=true).
Tree: New nodify($path, $levels, $doSlice) & treeize() modified for using it.