RapidPM TODO Must be able to pass the Travis-CI test Change to call C function instead of PHP function (because of overhead)