Added early branch termination