Minimize number of setups