Updated similarity comparison

Also put LSB inside testing loop, although it suffers badly from
compression