fixed length in for loop