cleaned up remove_single_edge