Improve splitting of nodes if range is collapsed.