Revise get_cheapest_parallel_safe_total_inner

Revise get_cheapest_parallel_safe_total_inner

Edit