Fixing adding edge to graph
Changed merging candidates