Recalculate if there are neighbouring duplicate chars