6912fe132f
The length has to be calculated for normalization anyway, and it is already returned by normalize_vn(vec, size).