timeline: Allocate buffer to read chunks in the stream in advance.