avoid copy to check voxel