Stack associated to a scheme