It was the world’s leader in sugar and coffee production, among the top producers of cacao, cotton, and indigo. The cost of generating all that …