def merge_scc_dags(l_scc):
    """
    Merge every other streams into the first one, we assume there's no connection between them
    and that links aren't constructed yet
    :param l_scc
    :return:
    """
    scc1 = l_scc[0]
    if scc1.times:
        min_t, max_t = scc1.times[0], scc1.times[1]
    for scc in l_scc[1:]:
        scc1.c_nodes += scc.c_nodes
        if scc.times:
            min_t = min(min_t, scc.times[0])
            max_t = max(max_t, scc.times[1])
    if scc1.times:
        scc1.times = [min_t, max_t]
    return scc1
