In that case, some call to append will probably fail with "out of bounds" before the next loop gets to this point, anyway.