does the number of calls to "QM" match between the implementations?