init btree util code