Compute volumes