Change algorithm of Scene.distanceToNearestPointTouchingTheLine(...). Not finished yet.