add frequency table debug routine
use unbiased jitter
add more stats