E3. Calculation of volumes