Looking below, it appears that it is the case that newlyInserted is just not passed. It seems cleaner to me not having that "don't skip over elements to the left" logic in here.