finished summarize_tree_ftw.c