Changed max iter to 2million.