Debug for storing histogram