shortest dist to line | ScratchStats