first graph cuts.