fixed density calculation in words#create