removed multiedge problem