intersection check routine added

cmake or itk bug