Before revision:  For generalization of the comparisons the ray crossing\textit{ algorithm is used as another reference.
After revision:  For generalization of the comparisons the ray crossing\textit{the ray crossing algorithm is used as another reference.