tsp working for n < 11, dunno why