Grouping multiple shocks in historical decomposition

Look at this topic maybe it could help