CSR segments default constructor patch
Fixes default constructed CSR
segment being in invalid state e.g. having getSegments()
return -1
and getStorageSize()
failing because of that. Other segments did not have this problem.
Achieved this by writing a custom default constructor, which basically initializes the segment's sizes by an Array
with single element 0
.