Not to defend Uber, but there was a post here some time ago where one engineer explained why it's so large (sadly can't find it anymore): it's due to a lot of different implementations for different markets (some masks may have slight differences in different countries) and their choise to re-implement the masks multiple times.