fix volume rounding

Closes #26
add regression test for GHI#26.