Using new minimum-cost interface (instead of new Cost)