BNDM extended to handle mismatches