Optimizing PatchCore for Few/many-shot Anomaly Detection