ensure power-of-two function tables