A guaranteed, long, prison sentence is the only long term solution to avoid the problem
They cost society billions if not trillions of dollars in follow up research, industry investments and consumers spendings. Some of them cost lives. Some thousands if not much more.