tau timer around calculate_xs()