histograms with fixed and variable bins