merge consequent tokens