S=2(ab+ah+bh) ⇔ dS/dh=2(a+b)