Shape complexity in cluster analysis