Some debugging code. It is essential to classify (quantize) the
file first. The classification matters (one might want irregular
histograms).