Now has AI hints, but apparently using std::map makes it very slow