Parametrize mod:fun to determine all exchanges

The exchanges that need to take place in Yokozuna are not the same as
those in KV.