loosen magteks buffer length restriction