Added in main voxel thread