refactored chunksize calculator for calculation sitemap sizes