A small dynamic histogram