Aquaculture is becoming a significant threat to coastal ecosystems. About 20 percent of mangrove forests have been destroyed since 1980, partly due to shrimp farming. An extended cost–benefit analysis of the total economic value of shrimp aquaculture built on mangrove ecosystems found that the external costs were much higher than the external benefits. Over four decades, 269,000 hectares (660,000 acres) of Indonesian mangroves have been converted to shrimp farms. Most of these farms are abandoned within a decade because of the toxin build-up and nutrient loss.