A method for evaluation of tailings hazard