Optimize translation table look up.