Perf fixes in inputstream (added raw_cursor in inputstream)