ArgExtFunction shouldn't have access to the inames it's running over
Instead of passing an explicit iname to the function, the argext function should take two pairs of parameters (value1, index1)
and (value2, index2)
. This makes it possible to parallelize it.