chain argument transformations in the inner loop

see issue #264