add path_margin option for wavelet_layer_1d