extract btree_simple_alloc.h