Having this measure, a threshold for download decision needs to be set in order to maximize all discovered similarities\r
and minimize total downloads.\r
A profitable threshold is such that matches with the largest distance between those two curves.\r
+\r
\begin{figure}\r
\centering\r
\includegraphics[width=0.8\textwidth]{img/snippets_graph.pdf}\r