$ 0 0 Create output buffer after padding to ensure its length matches the padded length. Fixes issue #2547.