small tweaks to improve speed of cv_assmb
more small tweaks to improve speed of cv_assmb