Initial version of csps-decompose