if ((nrOfElements + maxRecursion) < n) { for (i <- nrOfElements + createStep to n by createStep) { mapCurrent.getOrElseUpdate(i, ack(m, i)) } }