infrastructure for grouping channels in vector in output tree