First commit of new design of wavelet tree