Handle JS quirks with large decimal precision checks resulting from the calculations of next lines in the LineWrapper