prevent segfault in OSM model when used in factored model with decomposed phrase-tables