How would you have minimised migration costs for std::map?