def METHOD_NAME(self, node: SequenceNode, **kwargs):
    # merge consecutive labels
    last_label_addr: Optional[Tuple[int, Optional[int]]] = None
    for node_ in node.nodes:
        if isinstance(node_, ailment.Block):
            if node_.statements:
                for stmt in node_.statements:
                    if isinstance(stmt, ailment.Stmt.Label):
                        if last_label_addr is None:
                            # record the label address
                            last_label_addr = stmt.ins_addr, stmt.block_idx
                        else:
                            # this label is useless - we should replace this label with the last label
                            self._labels_to_remove.add(stmt)
                            self._new_jump_target[(stmt.ins_addr, stmt.block_idx)] = last_label_addr
                    else:
                        last_label_addr = None
                        break
        else:
            last_label_addr = None
    return self._walker0.METHOD_NAME(node, **kwargs)