add distill-trace and merge-distilled-traces