support marginal histograms of length-1 arrays