stack associated to a scheme