 
     return unless dys.length
 
-    dys = dys.sort((a, b) -> a.dy - b.dy)
+    dys = dys.sort (a, b) -> a.dy - b.dy
     lineHeights = []
     for dy in dys
       lastLineHeights = lineHeights[lineHeights.length - 1]

          count: 1
          area: dy.area

    lineHeights.sort((a, b) -> b.area - a.area)
    page.lineHeight = lineHeights[0].average

  _boundingBox: (pageNumber, segmentsIndices) =>
    page = @_pages[pageNumber - 1]

LINE_HEIGHT_THRESHOLD = 0.5
LARGEST_LINE_HEIGHT_WINDOW = 0.07
SPLIT_SECTION_THRESHOLD = 1.1
SECTION_INDENT_THRESHOLD = 1.0 / 40.0
SPLIT_PARAGRAPH_THRESHOLD = 0.9
