further fixes but forward/reverse edge weights are reversed