The gap you need depends on the ply thickness plus paint, it’s unlikely to shrink/grow a lot, just measure and leave a mm or so. It doesn’t need to be close as that joint has a huge moment arm, the bit that resists is the top/bottom corner of the slot on the opposing face rotating about a pivot...