flowchart for ore processing on stages