A refined model of the metal surface and its interaction with gases in the field ion microscope