the map size (2D only) from the outside.
This fixes the build on 64-bit machines, where size_t and uint32_t from vector.hpp would mismatch.