Added a clock for long computations
Performance optimizations
Less stack allocations while solving