reverted intersection ratio test