How small inequities lead to big inequalities