support grouping/ungrouping of parallel branches