checking in random hash cascade code
serialized threshold estimation
added sparsification to output