To handle more complex bathymetry shapes, the reconstruction approach could be extended by incorporating additional parameters or basis functions to represent the bathymetry. Instead of assuming a simple Gaussian-like profile, a more flexible representation could be used, such as a piecewise linear or polynomial function. This would allow the model to capture more intricate bathymetry features, such as multiple peaks, valleys, or irregular shapes. By increasing the complexity of the representation, the optimization algorithm would have more degrees of freedom to adjust the bathymetry to fit the observed data accurately.