1.improve the library
2.finish the 'stand-alone' ccs algorithm