some serious bugs fixed in rebuild table, one optimization in wordToSynset