added threshold for IsParallelTo