that looks odd. I would see if you can get a pair of orings to cover the gap or get different caps.
they should be for a 39.98mm gap.
If you are suggesting Orings you must be thinking, like me, that the spacers do very little. I don't think it's very likely to have any lateral movement. Especially when i used the original fittings for the bottom of the shock and they are very snug. I'll look to see if i have some rings that size or even some shims i've saved from something random.
Photo from last week, with messy cables and odd pedals.
Watch your cable rub from port exit into left & right chain stay, already seen it as a long term issue. Great bike, still getting the X2 dialled in for myself