maximum iterations on addmessagetuple