change from computed lookup tables to arrays to get rid of static initializer