optimize check for truncated csvs.