use fast lookups for small numbers