Optimized CCV computation