C implementation of frequency shifts from fc4 interaction