private static void DoTheMagic(Dimension dimension) { dimension.ExpandDimension(); // Update new dimension }