Replaced MIN_GARLIC with m_cost (in function PHS)