This recipe is specifically designed for an 8×8 inch square pan. Using a different size will alter the thickness of the layers and the baking time. A slightly larger pan will result in thinner layers, while a smaller pan will require a longer baking time and may not cook evenly.