Index: cpp/tests/similarity_goals/all_weights_fixed_z_greedy.goal
===================================================================
--- cpp/tests/similarity_goals/all_weights_fixed_z_greedy.goal	(revision 1175)
+++ cpp/tests/similarity_goals/all_weights_fixed_z_greedy.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	100.34	44.16	124.03	52.04	
-100.34	0.00	90.63	131.96	79.48	
-44.16	90.63	0.00	101.16	28.85	
-124.03	131.96	101.16	0.00	85.91	
-52.04	79.48	28.85	85.91	0.00	
+0.00	100.18	43.93	123.70	50.14	
+100.18	0.00	90.63	131.96	79.48	
+43.93	90.63	0.00	101.16	28.85	
+123.70	131.96	101.16	0.00	85.91	
+50.14	79.48	28.85	85.91	0.00	
 
Index: cpp/tests/similarity_goals/all_weights_fixed_z_hungarian.goal
===================================================================
--- cpp/tests/similarity_goals/all_weights_fixed_z_hungarian.goal	(revision 1175)
+++ cpp/tests/similarity_goals/all_weights_fixed_z_hungarian.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	97.94	42.50	123.17	51.01	
-97.94	0.00	89.89	131.03	79.25	
-42.50	89.89	0.00	100.84	28.51	
-123.17	131.03	100.84	0.00	85.80	
-51.01	79.25	28.51	85.80	0.00	
+0.00	97.92	41.21	122.95	49.42	
+97.92	0.00	89.89	131.03	79.25	
+41.21	89.89	0.00	100.84	28.51	
+122.95	131.03	100.84	0.00	85.80	
+49.42	79.25	28.51	85.80	0.00	
 
Index: cpp/tests/similarity_goals/all_weights_greedy.goal
===================================================================
--- cpp/tests/similarity_goals/all_weights_greedy.goal	(revision 1175)
+++ cpp/tests/similarity_goals/all_weights_greedy.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	97.74	43.78	67.77	52.04	
-97.74	0.00	90.03	70.35	78.85	
-43.78	90.03	0.00	47.65	27.89	
-67.77	70.35	47.65	0.00	28.18	
-52.04	78.85	27.89	28.18	0.00	
+0.00	97.68	42.66	67.06	50.14	
+97.68	0.00	90.03	70.35	78.85	
+42.66	90.03	0.00	47.65	27.89	
+67.06	70.35	47.65	0.00	28.18	
+50.14	78.85	27.89	28.18	0.00	
 
Index: cpp/tests/similarity_goals/all_weights_hungarian.goal
===================================================================
--- cpp/tests/similarity_goals/all_weights_hungarian.goal	(revision 1175)
+++ cpp/tests/similarity_goals/all_weights_hungarian.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	96.56	42.00	58.49	51.01	
-96.56	0.00	89.33	66.98	78.79	
-42.00	89.33	0.00	45.52	27.60	
-58.49	66.98	45.52	0.00	27.91	
-51.01	78.79	27.60	27.91	0.00	
+0.00	96.54	40.78	59.27	49.42	
+96.54	0.00	89.33	66.98	78.79	
+40.78	89.33	0.00	45.52	27.60	
+59.27	66.98	45.52	0.00	27.91	
+49.42	78.79	27.60	27.91	0.00	
 
Index: cpp/tests/similarity_goals/distances_weight_greedy.goal
===================================================================
--- cpp/tests/similarity_goals/distances_weight_greedy.goal	(revision 1175)
+++ cpp/tests/similarity_goals/distances_weight_greedy.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	16.87	10.34	21.05	10.87	
-16.87	0.00	18.03	16.35	19.85	
-10.34	18.03	0.00	19.65	6.89	
-21.05	16.35	19.65	0.00	19.18	
-10.87	19.85	6.89	19.18	0.00	
+0.00	16.75	9.15	20.48	9.38	
+16.75	0.00	18.03	16.35	19.85	
+9.15	18.03	0.00	19.65	6.89	
+20.48	16.35	19.65	0.00	19.18	
+9.38	19.85	6.89	19.18	0.00	
 
Index: cpp/tests/similarity_goals/distances_weight_hungarian.goal
===================================================================
--- cpp/tests/similarity_goals/distances_weight_hungarian.goal	(revision 1175)
+++ cpp/tests/similarity_goals/distances_weight_hungarian.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	16.56	7.88	12.49	10.01	
-16.56	0.00	17.33	12.98	19.79	
-7.88	17.33	0.00	17.03	6.60	
-12.49	12.98	17.03	0.00	18.68	
-10.01	19.79	6.60	18.68	0.00	
+0.00	16.54	6.61	13.27	8.42	
+16.54	0.00	17.33	12.98	19.79	
+6.61	17.33	0.00	17.03	6.60	
+13.27	12.98	17.03	0.00	18.68	
+8.42	19.79	6.60	18.68	0.00	
 
Index: cpp/tests/similarity_goals/distribution.goal
===================================================================
--- cpp/tests/similarity_goals/distribution.goal	(revision 1175)
+++ cpp/tests/similarity_goals/distribution.goal	(revision 1263)
@@ -1,6 +1,6 @@
-0.00	0.42	0.36	0.30	0.93	
-0.42	0.00	0.73	0.25	1.30	
-0.36	0.73	0.00	0.66	0.57	
-0.30	0.25	0.66	0.00	1.22	
-0.93	1.30	0.57	1.22	0.00	
+0.00	0.53	0.24	0.44	0.78	
+0.53	0.00	0.73	0.25	1.30	
+0.24	0.73	0.00	0.66	0.57	
+0.44	0.25	0.66	0.00	1.22	
+0.78	1.30	0.57	1.22	0.00	
 
