Added partitioner for offsets