adds compute min the distance from mouse msg position to board-crossed point. preparing for testing