Automaticaly merge buffers when possible.