A Hierarchical Clustering Approach for Large Compound Libraries.