Fix loc for diffs over 1k lines