Added algorithm for breakpoints extraction