Rescale the barcode