Trying to fix the set of edges