updated FindDist

as titled