Implement splitLastOutput and use it when there's not enough inputs for the
last output added.