I had test and not work.Because next have count 255 + 1 = 256
Ouch, yes of course... my mistake, sorry.