This switch should be a call "valueSize = NValue::getTupleStorageSize(value_type);"