preallocate operator size in read_operator