For loops started 1 too high.