Started implementing minHashLength in encodeId.
Finished implementing minHashLength for encoding.