Given an arbitrary 1-Lipschitz function f on the torus Tn, we find a k-dimensional subtorus M⊆Tn, parallel to the axes, such that the restriction of f to the subtorus M is nearly a constant function. The k-dimensional subtorus M is chosen randomly and uniformly. We show that when k≤clogn/(loglogn+log1/ε), the maximum and the minimum of f on this random subtorus M differ by at most ε, with high probability.