With Chile trying to manage both Latin America 's most dynamic economy and a looming energy squeeze , the government has embraced a plan to build a series of dams here in the rugged , pristine heart of Patagonia that would flood thousands of acres .