Optimize decoding of similarity values

Decoding of similarity values can be optimized in a similar way.
1 file changed