A C implementation of iron-green.