Old incarnation of BAFIRC in C