fn compute_len(orig: &str, line: &str) -> usize