Issue #186: preventing memory issues in DiffMatchPatch