Modified ChunkWCAdjust to use chunkMap.