Clustering Molecular Shape

I am looking for a program that can cluster all compounds based on molecular shape.  All of the programs I encountered are superposition-based and compare the shape similarity of the other molecules with the template molecule.  What if the template structure is unknown?  Is there a program available that can cluster all compounds based on molecular shape?  Thanks in advance!