The gravitational field of string matter when the dilaton is massive