Solved by eqy in post #11 
              
              
                I couldn’t reproduce the issue on my setup; note that you cannot use ll to compare the weights after each iteration as the underlying storage does not change and each of the new elements of the list actually point to the same memory. The changes to the weights also seem to be very small depending on…