What is the meaning of "the perfect size" in the following sentences,
In the oven he bakes two German chocolate cakes. In tins the perfect size he bakes three cherry pies.
(Source: The Baker's Dozen by DAN ANDREASEN)
Does "In tins the perfect size he bakes three cherry pies" mean "In the perfect size tins he bakes three cherry pies" ? Or does it mean "In tins he bakes three perfect size cherry pies" ?
What type of grammar is this type?