Changed computation of volume