Calculate padding to determine map height