fast and extension mapping-friendly mismatch extend implementation