more volume computation fixes (it now compiles; still untested)