Added color averaging for voxels