Replace vectors on arrays in main. Inverse transformation in bzip.