Rewrite Stream::fill() without malloc()