Raw material pre-treatment while feeding