Added data structure to pass hstogram data.