Add max iterations check in IPU.
Test max iterations check in IPF.