I haven't tried this recipe in a different pan, so I can't guarantee results. But a similar recipe suggests substituting with an 8×8 inch (20×20 cm) square baking pan and reducing the bake time.