Change recursion to iteration to avoid large stacks(risk of stack overflow); Reduce 1 thread from pool because it's fast enough