def METHOD_NAME():
    mesh1 = discretize.TreeMesh([64, 64], diagonal_balance=True)
    mesh1.insert_cells([0.09, 0.09], -1, finalize=False)
    mesh1.insert_cells([0.09, 0.91], -1, finalize=False)
    mesh1.insert_cells([0.91, 0.09], -1, finalize=False)
    mesh1.insert_cells([0.91, 0.91], -1)
    bad_nodes = check_for_diag_unbalance(mesh1)
    assert len(bad_nodes) == 0
    srl = mesh1.to_dict()
    mesh2 = discretize.TreeMesh.deserialize(srl)
    assert mesh1.equals(mesh2)