btree to list