Shrunk EOF check