Buffer segment swap