simplify init_pow2table