stable version of the buffer tree