The code is here: https://github.com/lum-ai/common/blob/b7c0b70c460790088d655a98be178cbef9767a24/src/main/scala/ai/lum/common/Interval.scala#L399 It is causing reach to crash on large nxml input files with too many sections. See also https://github.com/allenai/openie-standalone/issues/36 Changing to reduceLeft seems to fix the problem. A PR is being prepared.