when cost is not part of the metric