Piece 1: Breaking Curve Detection