That sucks. There is mandatory restitution in some states now. It should be required to come from the budgets of prosecution DA offices in order to prevent the gamification of over-conviction for reelection stats. States in the South, especially Louisiana, are notorious for their punitive criminal justice systems.
There's payouts, at least. And it doesn't have to take 40 years.