>>You can only input 255 measures in midi (has to do with base 10 mathematics). You will need to add repeat/coda marks etc . . .

Well actually base 2 (binary) but 10 is 2 in binary so I'll give you credit