#5 added ComparatorUniter as comparator for statistics, added CostFunctionToComparator translator