extract method `getTreePromise` from builder._read