Replace stridize by compress_array