download path optimization