set sample histograms in __init__