Basic performance working, close #22

A little bit better performance. 40k nodes i 170s