Enabled local caching of pow2 function