tree benchmark: internal and external versions all working