Optimization - Only one round to extract versions and values