That’s taking into consideration the costs of all the appeals.
Once someone is sentenced to death, it would be cheaper than life inside if they executed them straight away.