Minimizing diff. Step 1.