  We study realizable values of the length function for unital possibly
nonassociative algebras of a given dimension. To do this we apply the method of
characteristic sequences and establish sufficient conditions of realisability
for a given value of length. The proposed conditions are based on binary
decompositions of the value and algebraic constructions that allow to modify
length function of an algebra. Additionally we provide a classification of
unital algebras of maximal possible length in terms of their basis.
