A geometrical derivation of the shape density | Synapse