all: Make chainLength an uint.