Set up 12 in a hollow square, and 1 more in the middle, as pictured. You can only be re-racked at 9 and at 4 into squares.
Set up 9 in a square, as pictured. You can only be re-racked at 4 (into a smaller square).