what is the byproduct of producing lead through mining