BUG: fix the total_power bug for computing least target power