After writing "void refresh(byte a[],uint8_t n)" from share.c in assembly
number of cpu cycles simulated: 25027533