serde bst and print tree boundary