Add squeeze feature to overcome extra spaces when optional clauses are taken out.