reduce boost shared_ptr again