Start to implement merge of buffers