added delete[] in ModelBlock.cpp