constants for map size and map mask