Market structuring by sequential cluster analysis