moved word size adjustment into js