Motif discovery fixing mismatch positions