use correct jump table size when optimizing lookups