Optimize BufferCache position after compact (#28)