Rewrite engine: neg + poz + zero counters => one big hash
REFACTOR Get rid of _bucket sub, speed up add_data()
OPTIMIZE Cache sorted buckets. Replace scan with binary search in percentile() and mean_of() for speedup.