if (y-a)&&(z-c)< threshold print as following link1 x a # not b as you stated above? link1 w d