Set up finalized buffer correctly.