(N2 – N)/2 hit test