Be smarter when figuring if there is a branch.