Avoid potential race condition in AUC: create CMs in map() instead of
constructor.