new nhqm, fast version, not refined.