add value to negative zero alg fix