More on wavelet trees