Try to rewrite ptr_vector