* Fix calculating sums when sharing arguments

