Update the size check in MessagePort