canonical branch lengths function..