Improved scaling of multicategory histograms