Optimize design (f)