btree iterator