Text this: Scanning path optimization of fiber detection device by using TSP