lib: do not change/use words.length