add recreating of graphs after seam removing
improve performance