Compute mask only once in match and nomatch.
Add 'rnf' instance for Compact IntMap.
Ran first benchmarks

- lookup slightly slower
- insert, map, fromList slightly faster