Chain shape optimization using surrogate model | Synapse