Handling complexity of synchronous grammars for machine translation