added power dissipation termination condition.