branch soft elimination