Here's another cheap and MOST effective way to deal with the mast at the partners.
Buy enough 3 stand nylon to wrap around the mast 4 times. Thickness of the
line should exceed the gap between the mast and the deck. (We used 3/4 inch).
Take the first wrap and put it around the mast shoving it down between the partners. (You can use a come-along to the
winches to make space for it as you work it around and down.)
Now take a tube of silicon in a caulking gun and load it up over the first wrap.
Make a second wrap and then a third and a fourth, each time layering the silicone in place. You will increasingly rely on the come-along as you push in subsequent wraps.
We did this on our last boat and had ZERO leakage for over 4 years. The nice thing is that the whole thing is flexible and puts equal pressure on all parts of the mast. We were able to eliminate all the wooden wedges doing it this way. Cheap and effective!