precompile some code, tree visual improvement