An environmental study of artisanal, small, and medium mining in Bolivia, Chile, and Peru.