Testing of the algorithm on 24 bits successfully