The transition density of shape oscillations