this is the version 1.0 of the rake algoritm. Next commit will be for
the modified version of rake!