cost of building a complete mining plant