Revert "Try to rewrite ptr_vector"

This reverts commit 0966f30fe999a4d11e47275f47c12ca86346e477.