removed transient edges but getting the wrong answer