NVCC further optimized