Deletion unused dimensions.