a function of the length of the binary