Speeded up list_col_correct greatly by calculating the offset
instead of searching for it.