Simplify code
Implement triangle-triangle overlapping fragment breaking