Make nicer histograms, and save them before and after optimization