Rewrite intermediaries tx algorithm

The algorithm is in a loop:

  • retrieving the sources
  • generate and send one tx

We want to go with one time source retrieval, generate the txs, and send them.