track histogram and increment