histogram: Minor changes before adding correlation