Global Consistency of Tolerances