toTree

fun toTree(nodeSet: NodeSet, end: Int = this.end): Tree