Optimize TCAM lookup

Reviewer: @poolakiran
CC @kenchiang

Uses the new incremental hash and bloom filter modules added to bigcode. With these changes the time per lookup in the benchmark decreases by 50%.