A fork of the c code of mongo