updated mira to pick the best c