add WeightVec support to histograms