2 precomputed tables