Added some lifetime annotations to the BTree unsafe code for sanity checking