updating kde wordlength and adding fig.