1D histogram working
scale 1D histogram to 0.5
put handlers into separate classes