new MD processing

faster processing of mismatch field.