Reduced size of read function