Quality ‘cascade’ can optimise water treatment on mines