it would have to get stuck if there are too many "1" s to split up
But in my example it should be able to transform 11111112223 to 11211211213.