New function for reducing dimensionality after triggering