minpath works