Added assert() call in HistoUtil.cpp to resolve TODO.