update the stochastic mapper to deal with branch lengths that are zero