add cross stream buffer