d = min(d, d + d) = 5