Solved by albanD in post #2 
              
              
                Hi, 
I’m afraid it is indeed a problem of numerical precision of floating point numbers   The problem here is mostly that the dimension you reduce over (178741) is big enough that all the very small errors made by each individual op build up to something that is visible at the end. Also keep in mind…