shared_ptr in reference series data