ENH: computing CTMC flow in logspace