Init btree sample code;