Volume and stability of singularities