initialized distance and idx values for VoxelData