The Borsuk-Ulam theorem solves the curse of dimensionality