output junctions for each tid at a time.