Dome-topped anaerobic reactor