MSP, TSP first implementation
TSP