Small refactoring of CCSOSVM