better performance for SeqMotifFace