Well, if RND never returns the value 1 then it is my mistake.