added length check on DNAMotif