Change lookup tables to use integer values