Full waveform inversion procedures with irregular topography