Reverted changes to split_line
Speedup? in split line