btree lib