attempting to parallelize inner_ext_local
parallelized inner_ext_local