expanded setx wrapper to enable ranges of covariates