new architecture where the padding unpadding should be incorporated into wavelet transform