Improving efficiency of finite plans by optimal choice of input sets