modify approxunivariate