Removed comments and format.
Apply clang-format to source files without macro definitions.
Move value_ditance to bobopt_utils.hpp.
Optimized and refactored method from building cfg data to
optimization steps.