dimensionality reduction for exhaustive search