allow * as cigar string for encoding