Minor fix to calculating volume size