Rather than making my own, I just modified the dump function in SimpleNode.java. This should help speed up exactly what goes where in the tree.