nsim: limit tx burst size and refactor input node