fix bad computation of cardinal for map with hybrid scalar/simd