add string similarity distances