Fix bug: merging two arrows misscalculated the required input.

Could request more input than it actually needed in order to finish the
decoder.