Revised how max runtime is calculated to comply with Atlas dataset.