construct 1d wavelet base