volume calculations