how much does it take to set up mining plants