Controlling nodes and handles when deleting nodes to fill in a gap