Implementation of an anaerobic side-stream reactor in a CAS system