Implement chunk partitioning