Completed HistBin class