Simplify parsing
dont optimize is not working
Move runtime to c++