Use some dry ramen. Google ramen furniture fix or something similar and you should find a video showing how it works. It basically hardens and fills the gap at any shape you need. It's easy to shave down with sandpaper when dry and then paint over it. good luck.
