Moved "MAXLEN" initialization below block start label. Now different blocks have different "MAXLEN".