Initial buffer merge implementation