std::map -> std::set

No need to have two potentially inconsistent indexings. Also, that's probably faster.