Numerical framework for optimizing the thermal performance of building walls with shaped interfaces between material layers | Synapse