working precision and recall---fixed x,y in tree eucldist