Moved the makeSubtree function to be a levelSetTree method.