added missing index multiply by v.typ.size