for (i=N; i--;)