neuSmooth leave-on condition