Remove extra dimensionality