Discrete Critical Values: a General Framework for Silhouettes