split get_mapping_jobs_from_vrtrack into two functions.