Undoing the changes for the concurrent chunk generation, I found a much simpler solution