changed vector<Voxel> into vector<Voxel*>