Add recursion level tracing
Better logging
Parallelize code