As stated earlier, just use an int64 map here. Then get rid of all this conversion and other business.