fixed another optimzation issue inside of eval_volume. getting rid of the sum variables increased performance by a bit.