Now the histogram of each haar wavelet can have its own bucket size since it's size is read from the input stream.