The method is long already and the new piece seems to gain from being split off and getting a name.
Also, I don't see how the five `delete`s relate to the intended commented functionality.