diff --git a/asammdf/blocks/mdf_v3.py b/asammdf/blocks/mdf_v3.py
index <HASH>..<HASH> 100644
--- a/asammdf/blocks/mdf_v3.py
+++ b/asammdf/blocks/mdf_v3.py
@@ -3669,8 +3669,8 @@ class MDF3(MDF_Common):
             for info in group.data_blocks:
                 address, size, block_size, block_type, param = (
                     info.address,
-                    info.raw_size,
-                    info.size,
+                    info.original_size,
+                    info.compressed_size,
                     info.block_type,
                     info.param,
                 )
diff --git a/asammdf/blocks/mdf_v4.py b/asammdf/blocks/mdf_v4.py
index <HASH>..<HASH> 100755
--- a/asammdf/blocks/mdf_v4.py
+++ b/asammdf/blocks/mdf_v4.py
@@ -10130,7 +10130,7 @@ class MDF4(MDF_Common):
                         + channel_group.invalidation_bytes_nr
                     )
 
-                total_size = sum(blk.raw_size for blk in group.data_blocks)
+                total_size = sum(blk.original_size for blk in group.data_blocks)
 
                 cycles_nr = total_size // samples_size
                 virtual_channel_group = self.virtual_groups[index]
last two occurrences of .raw_size