Critical Node finder impl