Bugfix: check for overflow when summing up doubles