improved handling for grid initialization when the georefs are different from the initial one