fixed tree management issues with branch lengths