add bin_tree and stack