fixed revamped wordSeqCost and generatePhrase