Need to fix problem with memory allocation in C++