now it looks how far to the closest obstacle