The IBBA (Instituto Boliviano de Biología de la Altura) and ORSTROM (French Cooperation) have done deep study about coca and human phisiology:

“the chewing coca leaves increase the resistency of muscular work

improves respiratory action and oxigenation. Regulates the glucose.

All good features for living at 4000 meters over the sea level.