minCodes