add BSTree struct