State precomputed tables working