was not using the correct number of max iterations, hard change