Enh lsh forest hash size

Please consider the following improvements.