T-junctions fix (iteration)