alpha version of buffer tree