Add maxIter into app config file so that we can tune it.