integrate stripQuant into quantFreeVars