Promote inv_aanscales array to global scope (ff_inv_aanscales)