A shim should work, but as strange as it sounds you just may have the wrong size post. I know you probably got the size of the seat tube either from where you bought it, the frame mfr's website or from someone else, but it sounds like it's a couple tenths of a millimeter off.