Chunks are generated with dynamic priority queue.