slides 11, 16, 18: we minimize C(u,v,d) and not the summation of C(u,v,d) as it was wrongly displayed.