vector insert performance and shared_ptr in vector