build macroSummary