change lengthList to size