add MinimalCost plugin