Migrated vec.Size to vec.Len