Final diff minimization