Edited histogram.cc