add a synthesize method for the HaarWavelet class.