complete intersection test