major changes: count-min now competitive