Improve variable name: 'dist' => 'max_dist'