factor out LENGTH var ; fix hinting for 2digit case
repair bug (deleted ADDENDS), use LENGTH everywhere needed