The "unique" random barcode selection is being performed across all random barcodes from all samples. Should this filtering be performed on a per-sample basis instead? Not sure about how this is handled in the original Perl code or paper, but might be worth verifying.