Text this: Optimization of the TiB2 plasma dynamic synthesis