add wavelets to each layer