build c++ precomputer