discrete basis gen now extrapolates