Remove some unused dimensions