Minor, but I personally find `dist <= xy` more readable.