Properly calculate the map size in HQ.