Refactor SV to cpVect conversion