Smarter buffer split.