Energy optimization after case 3