use ARR_LEN and don't save length of registers separate for benodes