Good profiling
Get rid of smart pointers. Memory leaks nowgit st
Memory do not leak, but everything is so slow...