max failed nodes case