cas/btree WIP