splitting the read buffer