Nonlinear waveform inversion with surface-oriented extended modeling