With ITERATIONS, reset the heap for each iteration