bst lib for c