Added array_t, passed that to shard instead of copying.