Add uses of MAX_READ_LENGTH constant