added in reading from binary codes for brown clusters and random trees