make separable_wavelet_2d pad/unpad itself