geometric inversion on grid