Removed broken tree creation function.