Hardcoded a maximum number of iterations to do