Array based int2int mapping (small numbers only)