Valve Spring Installed Height Variation

How about the question that is circled in blue?

View attachment 1716376753

Do the shims go against the surface of the head with aluminum heads or between the spring and cup?
I put shims directly under springs, locator cup or not.