lens spacing, front/rear using shims

If we were to add a shim, perhaps .5mm behind a shutter, before the rear lens cluster, therefore increasing cell spacing, how does it effect the focus for accuracy, sharpness? I know there are enormous variables, but I'm just looking for generalities. Hopeless question?