reserve vector size for shared datarefs, this might be necessary if you
only write the vector but never read it.