mass balance process flow in manufacturing