Directed distance :D added