Calculate power of two on fly.