I got an error of "No instance of overloaded function" when I used resize(). I\'m aware that what\'s inside of resize() might be wrong as well. I\'m trying to resize x