aco: Use context variables instead of calculating TCS inputs/outputs.