handling missing median branch lengths