Optimization of the CIP system enzyme stage for effluent reduction