Fixed the map size calc for various page size