add scalable histogram