Update render_stream to accept range