Creating a new class to store the VoxelUpdateList which will automatically clean up the memory when finished.