fixed issues with tx generation
take next row utxo into account, generate required no