Consolidate calculation of display/raster sizes