Then put some debug output into the loop and/or only add some values and not all to see what happens.