New algorith for parallel compilation.

First build a tree of nodes then search for a compilable node only when there are
some free slot for a job.