Added branch overlap checks