Code:
boxValues = [ [28.400000000000002, 386.5, 0],
[71.4, 386.5, 0],
[114.4, 386.5, 0],
[157.4, 386.5, 0],
[199.9, 386.5, 0], .......//Wait, why is that .9 all the sudden?
[71.4, 386.5, 0],
[114.4, 386.5, 0],
[157.4, 386.5, 0],
[199.9, 386.5, 0], .......//Wait, why is that .9 all the sudden?
You're setting those boxes either 43 units apart - and then sometimes 42.5 units. And the width of the boxes after the code is run is 44 units wide total.
You've got a lot of inconsistent overlap which could be affecting the simulation's reliability. That's a lot of possible 'toe stubbing' as Boris put it.