Update the chunk generation to respect priority.