why not change the right bound to be "MAX_LEN" too?