The interactions of design and control: double-effect distillation