Any math majors here? OHC head milled.....

If it's failing due to NOX does it have an EGR system? If so, have you checked the EGR passages, valve & controls?

Lotta modern engines run virtually emission free & have compression ratios above 10-1.. Just gotta get the emission control systems right..