Added complete sum to zero cpp