Now createTx() adds one input at a time

First to cover the total amount from all outputs, then it estimates a minimum
fee and adds more inputs (again, one at a time) if necessary.