revert commit fdfd175d46ac6a810ebdeb2a2936e6d7d13995ab
Remove mi_arena nested function.