first euclidian distance for one word