added simple direct volume computation