C implementation of permulation symmetry fc4