No reason, it was a simpler loop in earlier versions of the example.  I should change it.