Implement worker segments with partitions