Size of encoder memory defined as constant in encoder.h