Prune junctions.