bugfix in deallocating memory in ISPCMesh class