KDE thresh in violin func