added method to compute volume of hes